package com.xiaohu.common.result;

public enum ResultEnum {

    SUCCESS(200, "操作成功"),
    ERROR(400, "操作失败");


    private final Integer code;

    private final String meessage;

    ResultEnum(Integer code, String meessage) {
        this.code = code;
        this.meessage = meessage;
    }

    public Integer getCode() {
        return code;
    }

    public String getMeessage() {
        return meessage;
    }
}
